]> dgit.raspbian.org Git - gnome-shell.git/commit
Fix position of indicator while tweening
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 12 Feb 2011 21:33:42 +0000 (16:33 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Fri, 18 Feb 2011 16:36:33 +0000 (11:36 -0500)
commit53516733f70fe10c069aabbe976636455da3a0fe
tree6c5d16bea74f47d0350a59f0bcd5c122f218524a
parente9a45190e428b09f58531e4dc3678b9cbb97a6d2
Fix position of indicator while tweening

Because the overall parent allocation width immediately when the workspace
count changes, we were sometimes drawing the indicator in the wrong place
in the indicator animation that proceeded the remove-workspace animation.
Fix this by tweening only the Y position of the indicator and computing
the X position and size in our allocate() method. This also is considerably
simpler than switching the indicator between fixed position and geometry
managed.

https://bugzilla.gnome.org/show_bug.cgi?id=641881
js/ui/workspaceThumbnail.js